/*
 * PACKAGE NAME: com.jodinfo.outmirror.implementation.offlanguagezhcn.service
 * FILE    NAME: OffLanguageZhCnDaoImpl.java
 * COPYRIGHT: Copyright(c) © 2016 heroj Company Ltd. All Rights Reserved
 */ 
package com.jodinfo.outmirror.service.impl;


import java.math.BigInteger;
import java.util.List;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.jodinfo.outmirror.dao.OffLanguageZhCnDao;
import com.jodinfo.outmirror.entity.OffLanguageZhCnEntity;
import com.jodinfo.outmirror.service.OffLanguageZhCnQueryService;

@Service(value="offLanguageZhCnQueryService")
public class OffLanguageZhCnQueryServiceImpl implements OffLanguageZhCnQueryService {

  private static final Logger logger = LoggerFactory.getLogger(OffLanguageZhCnQueryService.class);
 
	@Resource(name="offLanguageZhCnDao")
	private OffLanguageZhCnDao offLanguageZhCnDao;
	
	/** 
	 * 
	 * @author ZhangYuanYuan
	 * @date 2016年12月30日 上午9:15:36
	 * @see com.jodinfo.outmirror.implementation.offlanguagezhcn.OffLanguageZhCnQueryService#queryAllOffLanguageZhCn(OffLanguageZhCnEntity offLanguageZhCnEntity)
	 * @param OffLanguageZhCnEntity offLanguageZhCnEntity
	 * @return List<OffLanguageZhCnEntity>
	 */
	//@Cacheable(sync=true,keyGenerator="redisKeyGenerator")
	public List<OffLanguageZhCnEntity> queryAllOffLanguageZhCn(OffLanguageZhCnEntity offLanguageZhCnEntity) {
		
		return offLanguageZhCnDao.queryList(offLanguageZhCnEntity);
	}
	/** 
	 * 
	 * @author ZhangYuanYuan
	 * @date 2016年12月30日 上午9:15:36
	 * @see com.jodinfo.outmirror.implementation.offlanguagezhcn.OffLanguageZhCnQueryService#queryCountOffLanguageZhCn(OffLanguageZhCnEntity offLanguageZhCnEntity)
	 * @param OffLanguageZhCnEntity offLanguageZhCnEntity
	 * @return Long
	 */
	//@Cacheable(sync=true,keyGenerator="redisKeyGenerator")
	public Long queryCountOffLanguageZhCn(OffLanguageZhCnEntity offLanguageZhCnEntity) {
		
		return offLanguageZhCnDao.queryCount(offLanguageZhCnEntity);
	}  
	
	/** 
	 * 
	 * @author ZhangYuanYuan
	 * @date 2016年12月30日 上午9:15:36
	 * @see com.jodinfo.outmirror.implementation.offlanguagezhcn.OffLanguageZhCnQueryService#queryByID(OffLanguageZhCnEntity offLanguageZhCnEntity)
	 * @param BigInteger id
	 * @return
	 */
//	@Cacheable(sync=true,keyGenerator="redisKeyGenerator")
	public OffLanguageZhCnEntity queryById(BigInteger id) {
		
		return offLanguageZhCnDao.queryById(id);
	}
	/** 
	 * 
	 * @author ZhangYuanYuan
	 * @date 2016年12月30日 上午9:15:36
	 * @see com.jodinfo.outmirror.implementation.offlanguagezhcn.OffLanguageZhCnQueryService#queryByIds(List<BigInteger> ids)
	 * @param List<BigInteger> ids
	 * @return List<OffLanguageZhCnEntity>
	 */
	//@Cacheable(sync=true,keyGenerator="redisKeyGenerator")
	public List<OffLanguageZhCnEntity> queryByIds(List<BigInteger> ids) {
		 
		 return offLanguageZhCnDao.queryByIds(ids);
	}
	/** 
	 * 
	 * @author ZhangYuanYuan
	 * @date 2016年12月30日 上午9:15:36
	 * @see com.jodinfo.outmirror.implementation.offlanguagezhcn.OffLanguageZhCnQueryService#queryByEntity(OffLanguageZhCnEntity offLanguageZhCnEntity)
	 * @param List<BigInteger> ids
	 * @return List<OffLanguageZhCnEntity>
	 */
	//@Cacheable(sync=true,keyGenerator="redisKeyGenerator")
	public OffLanguageZhCnEntity queryByEntity(OffLanguageZhCnEntity offLanguageZhCnEntity) {
		return offLanguageZhCnDao.queryEntity(offLanguageZhCnEntity);
	}
}

